# -*- coding: utf-8 -*-
# @Time        :2025/4/17 16:33
# @Author      :文刀水寿
# @File        : urls.py
"""
 @Description :
"""
from fastapi import APIRouter, Form


app4 = APIRouter()


@app4.post('/regin')
async def form(username: str = Form(), password: str = Form()):
    print(f"username: {username}, password: {password}")
    # 注册， 实现数据库的添加操作
    return {
        "username" : username
    }